﻿
@model DevelopmentKit.Web.Controllers.ViewModels.UserViewModels.ChangePasswordViewModel
@{
    ViewBag.Title = "修改密码";
    Layout = "~/Views/Shared/_Layout.cshtml";
} 
 
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true)
    @Html.AntiForgeryToken()
    <fieldset>
        <legend>基本信息 </legend>
        <ul class="list_form">
        
            <li>
                @Html.LabelFor(model => model.UserName)   
                @Model.UserName
                @Html.HiddenFor(model => model.UserName)
            </li>
            <li>
                @Html.LabelFor(model => model.OldPassword)   
                @Html.PasswordFor(model => model.OldPassword, new { @class = "text-long" }) 
                @Html.ValidationMessageFor(model => model.OldPassword)
            </li>
            <li>
                @Html.LabelFor(model => model.Password)   
                @Html.PasswordFor(model => model.Password, new { @class = "text-long" }) 
                @Html.ValidationMessageFor(model => model.Password)
            </li>
            <li>
                @Html.LabelFor(model => model.RePassword)   
                @Html.PasswordFor(model => model.RePassword, new { @class = "text-long" }) 
                @Html.ValidationMessageFor(model => model.RePassword)
            </li>
           
        </ul>
    </fieldset>
    
    <input type="submit" class="button-submit" value="保存" />
  
    <br />
    <br />
    <br />
}

